names=['Bob','Teddy','Ducan','Charlie','Gabe','Amy','Bob','Amy','Bob']
renames=[]
no_renames=[]
names.count('Bob')
names.count('Teddy')
names.count('Charlie')
names.count('Gabe')
names.count('Amy')
for a in names:
    if names.count(a)>=2:
        renames.append(a)
    else:
        no_renames.append(a)
print(no_renames)
print(renames)
print('renames_time %s '%len(renames))
print('Bob_rename_times %s'%renames.count('Bob'))
print('Amy_rename_times %s'%renames.count('Amy'))
